﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;

namespace _2112A_2_MES._wangweihao
{
    /// <summary>
    /// 客户表
    /// </summary>
    public class Client : Entity<int>
    {

        /// <summary>
        /// 客户编码
        /// </summary>
        [StringLength(64)]
        public string? ClientCode { get; set; }

        /// <summary>
        /// 客户名称
        /// </summary>
        [StringLength(255)]
        public string? ClientName { get; set; }

        /// <summary>
        /// 客户简写
        /// </summary>
        [StringLength(255)]
        public string? ClientNick { get; set; }

        /// <summary>
        /// 客户英文名称
        /// </summary>
        [StringLength(255)]
        public string? ClientEnglishName { get; set; }

        /// <summary>
        /// 客户简介
        /// </summary>
        [StringLength(500)]
        public string? ClientDescription { get; set; }

        /// <summary>
        /// 客户类型
        /// </summary>
        [StringLength(64)]
        public string? ClientType { get; set; }

        /// <summary>
        /// 客户LOGO地址
        /// </summary>
        [StringLength(255)]
        public string? ClientLogo { get; set; }

        /// <summary>
        /// 客户默认送货地点
        /// </summary>
        [StringLength(500)]
        public string? Address { get; set; }

        /// <summary>
        /// 客户官网地址
        /// </summary>
        [StringLength(255)]
        public string? WebSite { get; set; }

        /// <summary>
        /// 客户邮箱
        /// </summary>
        [StringLength(255)]
        [EmailAddress]
        public string? Email { get; set; }

        /// <summary>
        /// 客户电话
        /// </summary>
        [StringLength(64)]
        public string? Tel { get; set; }

        /// <summary>
        /// 联系人1
        /// </summary>
        [StringLength(64)]
        public string? Contact1 { get; set; }

        /// <summary>
        /// 联系人1电话
        /// </summary>
        [StringLength(64)]
        public string? Contact1Tel { get; set; }

        /// <summary>
        /// 联系人1邮箱
        /// </summary>
        [StringLength(255)]
        [EmailAddress]
        public string? Contact1Email { get; set; }

        /// <summary>
        /// 联系人2
        /// </summary>
        [StringLength(64)]
        public string? Contact2 { get; set; }

        /// <summary>
        /// 联系人2电话
        /// </summary>
        [StringLength(64)]
        public string? Contact2Tel { get; set; }

        /// <summary>
        /// 联系人2邮箱
        /// </summary>
        [StringLength(255)]
        [EmailAddress]
        public string? Contact2Email { get; set; }

        /// <summary>
        /// 统一社会信用代码
        /// </summary>
        [StringLength(64)]
        public string? CreditCode { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [StringLength(500)]
        public string? Remark { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        [StringLength(64)]
        public string? CreatedBy { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreatedTime { get; set; }

        /// <summary>
        /// 更新人
        /// </summary>
        [StringLength(64)]
        public string? UpdatedBy { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdatedTime { get; set; }
    }
}
